package model;

/**
 * 员工实体类
 */
public class Employee {
    private String employeeId;    // 员工编号
    private String name;          // 姓名
    private String position;      // 职位
    private double salary;        // 工资
    private String phone;         // 电话
    private String password;      // 密码
    
    // 构造方法
    public Employee() {}
    
    public Employee(String employeeId, String name, String position, double salary, String phone, String password) {
        this.employeeId = employeeId;
        this.name = name;
        this.position = position;
        this.salary = salary;
        this.phone = phone;
        this.password = password;
    }
    
    // getter和setter方法
    public String getEmployeeId() {
        return employeeId;
    }
    
    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getPosition() {
        return position;
    }
    
    public void setPosition(String position) {
        this.position = position;
    }
    
    public double getSalary() {
        return salary;
    }
    
    public void setSalary(double salary) {
        this.salary = salary;
    }
    
    public String getPhone() {
        return phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    public String getPassword() {
        return password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
}
    